package com.sskj.trafficcontrol.service;

import com.sskj.trafficcontrol.model.pojo.TcNoticeInfo;

import java.util.List;

/**
 * @author : zhao kuo
 * @date : 2019/2/4 12:06
 * @description :
 */
public interface NoticeService {


    void insertNotice(TcNoticeInfo tcNoticeInfo);

    List<TcNoticeInfo> fetchAllNoticeInfos();

    List<TcNoticeInfo> selectByTime();

    TcNoticeInfo selectFormIdIsNull(String open_id);

    TcNoticeInfo selectFormIdIsExists(String open_id);

    void updateNotice(TcNoticeInfo tcNoticeInfo);

    Integer selectTotalCount(String open_id);

    void updateNoticeStatus(String open_id, String is_open);

    void updateNoticeCount(TcNoticeInfo info);

    void updateNotices(TcNoticeInfo tcNoticeInfo);

    TcNoticeInfo zuijinshijian(String openId);

    void updateNoticeform(TcNoticeInfo tcNoticeInfo);
}
